package com.example.lab3.domain.entity;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class Employee {
    private Long employeeId;
    private String firstName;
    private String lastName;
    private String email;
    private String phoneNumber;
    private Date hireDate;
    private String jobId;
    private BigDecimal salary;
    private Long managerId;
    private Long departmentId;
    /**
     * 领导
     */
    private Employee leader;
    /**
     * 员工下属
     */
    private List<Employee> employeeList;
}
